package vip.xiaonuo.biz.modular.column.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import vip.xiaonuo.biz.modular.column.entity.BizColumn;
import vip.xiaonuo.biz.modular.column.param.BizColumnAddParam;
import vip.xiaonuo.biz.modular.column.param.BizColumnEditParam;
import vip.xiaonuo.biz.modular.column.param.BizColumnIdParam;
import vip.xiaonuo.biz.modular.column.param.BizColumnPageParam;

import java.util.List;

public interface BizColumnService extends IService<BizColumn> {

    void add(BizColumnAddParam addParam);

    void edit(BizColumnEditParam editParam);

    void delete(List<BizColumnIdParam> idListParam);

    Page<BizColumn> page(BizColumnPageParam pageParam);

    BizColumn detail(BizColumnIdParam idParam);

    BizColumn queryEntity(String id);

    List<BizColumn> list();

    void addViewCount(BizColumnIdParam idParam);
}
